micro_utils.dokka
/
dev.inmo.micro_utils.common
/
[common]onFirst
common
on
First
inline fun <
T1
,
T2
,
E
:
Either
<
T1
,
T2
>>
E
.
onFirst
(block: (
T1
) ->
Unit
):
E
Content copied to clipboard
Will call
block
in case when
Either.t1
of
this
is not null